package routers

import (
	"WORKSPACE/controllers"
	"github.com/gin-gonic/gin"
)

func consumerRouter(r *gin.RouterGroup) {
	r.GET("/consumer", controllers.GetConsumer)
	r.DELETE("/consumer", controllers.DelConsumer)
	r.PUT("/consumer", controllers.UpdateConsumer)
	r.POST("/consumer", controllers.AddConsumer)
}